<script>
import KtTable from "/src/components/node-kantboot/components/KtTable/KtTable.vue";
import RoleManageDialog from "/src/views/manage/user/userAccount/components/RoleManageDialog.vue";
import columns from "./config/columns.config.js"


export default {
  components: {KtTable,RoleManageDialog},
  data() {
    return {
      columns,
      serviceMap:{}
    }
  },
  mounted() {
  },
  methods: {

  }
}
</script>

<template>
  <kt-table
      :columns="columns"
      requestUri="/user-account-web/admin/userAccount"
      ref="ktTable">
    <template #operationAppend="{row}">
      <el-button type="primary"
      @click="$refs.roleManageDialog.open(row)"
      >
        {{ $i18n.zhToGlobal('角色管理') }}
      </el-button>
    </template>
  </kt-table>
  <role-manage-dialog ref="roleManageDialog"></role-manage-dialog>
</template>

<style scoped>

</style>